<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/16 0016
 * Time: 13:53
 */

namespace Home\Controller;
use Think\Controller;
class UnlinkController extends Controller{
    //删除上传的Excel文件
    public function unexcel(){
        $excelpath = C('EXCELSAVEPATH');
        delFileUnderDir($excelpath);
    }
    //删除存储的交接二维码
    public function unqrcode(){
        $qrcodepath = C('SAVEQRCODEPATH');
        delFileUnderDir($qrcodepath);
    }
}
